package com.huaiwei.usmManager.modules.usm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaiwei.usmManager.modules.usm.entity.CabinetEntity;
import com.huaiwei.usmManager.modules.usm.entity.GoodsEntity;

import com.huaiwei.usmManager.modules.usm.entity.ShopEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CabinetDao extends BaseMapper<CabinetEntity> {

    /*判断是否有商品在展示柜上*/
    int findGoodsInCabByCabId(Integer cabinetId);

    ShopEntity getShopByCabinetId(Integer cabinetId);

    int getShopIdByCabinetId(Integer cabinetId);

}
